/*******************************************************************************
 * Size: 16 px
 * Bpp: 4
 * Opts: --bpp 4 --size 16 --no-compress --font OPlusSans3-Regular.ttf --symbols 月日周一二三四五六 0123456789 --format lvgl -o app_status_bar_font_date.c
 ******************************************************************************/

#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif

#ifndef APP_STATUS_BAR_FONT_DATE
#define APP_STATUS_BAR_FONT_DATE 1
#endif

#if APP_STATUS_BAR_FONT_DATE

/*-----------------
 *    BITMAPS
 *----------------*/

/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
    /* U+0020 " " */

    /* U+0030 "0" */
    0x3, 0xcf, 0xea, 0x10, 0x2f, 0x82, 0x3b, 0xc0,
    0x9b, 0x0, 0x1, 0xf5, 0xd7, 0x0, 0x0, 0xc8,
    0xf5, 0x0, 0x0, 0xaa, 0xf5, 0x0, 0x0, 0xaa,
    0xf5, 0x0, 0x0, 0xaa, 0xf5, 0x0, 0x0, 0xaa,
    0xd7, 0x0, 0x0, 0xc8, 0x9b, 0x0, 0x1, 0xf5,
    0x2f, 0x82, 0x3c, 0xc0, 0x3, 0xcf, 0xfa, 0x10,

    /* U+0031 "1" */
    0x0, 0x6e, 0x82, 0xce, 0xe8, 0x58, 0xc, 0x80,
    0x0, 0xc8, 0x0, 0xc, 0x80, 0x0, 0xc8, 0x0,
    0xc, 0x80, 0x0, 0xc8, 0x0, 0xc, 0x80, 0x0,
    0xc8, 0x0, 0xc, 0x80, 0x0, 0xc8,

    /* U+0032 "2" */
    0x0, 0x8e, 0xfc, 0x40, 0xb, 0xc3, 0x27, 0xf3,
    0x3f, 0x10, 0x0, 0xba, 0x1, 0x0, 0x0, 0x9b,
    0x0, 0x0, 0x0, 0xc8, 0x0, 0x0, 0x5, 0xf2,
    0x0, 0x0, 0x3f, 0x60, 0x0, 0x2, 0xe8, 0x0,
    0x0, 0x1e, 0x90, 0x0, 0x1, 0xda, 0x0, 0x0,
    0xc, 0xb1, 0x0, 0x0, 0x6f, 0xff, 0xff, 0xfc,

    /* U+0033 "3" */
    0xf, 0xff, 0xff, 0xf4, 0x1, 0x11, 0x1c, 0xb0,
    0x0, 0x0, 0x9d, 0x10, 0x0, 0x6, 0xf2, 0x0,
    0x0, 0x4f, 0x40, 0x0, 0x2, 0xef, 0xeb, 0x40,
    0x3, 0x83, 0x38, 0xf4, 0x0, 0x0, 0x0, 0xac,
    0x0, 0x0, 0x0, 0x7e, 0x35, 0x0, 0x0, 0xab,
    0x3f, 0x72, 0x28, 0xf3, 0x4, 0xbf, 0xfb, 0x30,

    /* U+0034 "4" */
    0x0, 0x0, 0x3, 0xf2, 0x0, 0x0, 0x0, 0xdf,
    0x20, 0x0, 0x0, 0x9d, 0xf2, 0x0, 0x0, 0x4f,
    0x3f, 0x20, 0x0, 0xe, 0x61, 0xf2, 0x0, 0xa,
    0xb0, 0x1f, 0x20, 0x5, 0xe1, 0x1, 0xf2, 0x1,
    0xe5, 0x0, 0x1f, 0x20, 0x8f, 0xff, 0xff, 0xff,
    0xb1, 0x22, 0x22, 0x3f, 0x41, 0x0, 0x0, 0x1,
    0xf2, 0x0, 0x0, 0x0, 0x1f, 0x20,

    /* U+0035 "5" */
    0x0, 0xff, 0xff, 0xfd, 0x0, 0x2f, 0x21, 0x11,
    0x0, 0x3, 0xf0, 0x0, 0x0, 0x0, 0x5d, 0x0,
    0x0, 0x0, 0x7, 0xca, 0xed, 0x70, 0x0, 0x9e,
    0x62, 0x5e, 0xa0, 0x1, 0x20, 0x0, 0x4f, 0x20,
    0x0, 0x0, 0x0, 0xf5, 0x0, 0x0, 0x0, 0xf,
    0x50, 0x93, 0x0, 0x3, 0xf2, 0x9, 0xe5, 0x24,
    0xda, 0x0, 0x7, 0xdf, 0xe8, 0x0,

    /* U+0036 "6" */
    0x0, 0x0, 0x3f, 0x50, 0x0, 0x0, 0xd, 0xa0,
    0x0, 0x0, 0x9, 0xe1, 0x0, 0x0, 0x5, 0xf5,
    0x0, 0x0, 0x1, 0xea, 0x0, 0x0, 0x0, 0x9f,
    0xbe, 0xea, 0x20, 0xe, 0xf6, 0x24, 0xce, 0x12,
    0xf6, 0x0, 0x0, 0xe6, 0x1f, 0x30, 0x0, 0xc,
    0x90, 0xe6, 0x0, 0x0, 0xe6, 0x6, 0xe6, 0x24,
    0xbe, 0x10, 0x6, 0xdf, 0xea, 0x20,

    /* U+0037 "7" */
    0x3f, 0xff, 0xff, 0xff, 0x30, 0x11, 0x11, 0x16,
    0xe0, 0x0, 0x0, 0x0, 0xc7, 0x0, 0x0, 0x0,
    0x3f, 0x10, 0x0, 0x0, 0xa, 0x90, 0x0, 0x0,
    0x2, 0xf2, 0x0, 0x0, 0x0, 0x9b, 0x0, 0x0,
    0x0, 0x1f, 0x40, 0x0, 0x0, 0x7, 0xd0, 0x0,
    0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x6f, 0x0,
    0x0, 0x0, 0xd, 0x80, 0x0, 0x0,

    /* U+0038 "8" */
    0x0, 0x4c, 0xfe, 0x91, 0x0, 0x3f, 0x71, 0x3c,
    0xc0, 0xa, 0xb0, 0x0, 0x2f, 0x20, 0xab, 0x0,
    0x1, 0xf2, 0x4, 0xf5, 0x0, 0xac, 0x0, 0x7,
    0xff, 0xfe, 0x20, 0x6, 0xe6, 0x23, 0xad, 0x10,
    0xf5, 0x0, 0x0, 0xc8, 0x3f, 0x20, 0x0, 0x9,
    0xb1, 0xf5, 0x0, 0x0, 0xc9, 0x8, 0xe6, 0x23,
    0xaf, 0x20, 0x6, 0xdf, 0xea, 0x20,

    /* U+0039 "9" */
    0x1, 0x9e, 0xfd, 0x70, 0x0, 0xcd, 0x42, 0x5e,
    0x80, 0x4f, 0x10, 0x0, 0x5f, 0x17, 0xe0, 0x0,
    0x1, 0xf3, 0x5f, 0x0, 0x0, 0x4f, 0x30, 0xeb,
    0x10, 0x3d, 0xf1, 0x2, 0xcf, 0xfe, 0xfa, 0x0,
    0x0, 0x11, 0x7f, 0x20, 0x0, 0x0, 0x2f, 0x70,
    0x0, 0x0, 0xc, 0xb0, 0x0, 0x0, 0x8, 0xe1,
    0x0, 0x0, 0x3, 0xf5, 0x0, 0x0,

    /* U+4E00 "一" */
    0x24, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x40,
    0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1,

    /* U+4E09 "三" */
    0x0, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x0,
    0x3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x30,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xf7, 0x0,
    0x0, 0x12, 0x22, 0x22, 0x22, 0x22, 0x21, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf2,
    0x2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x20,

    /* U+4E8C "二" */
    0x0, 0x45, 0x55, 0x55, 0x55, 0x55, 0x53, 0x0,
    0x0, 0xbe, 0xee, 0xee, 0xee, 0xee, 0xeb, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x3, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x30,
    0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf2,

    /* U+4E94 "五" */
    0x1, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x20,
    0x7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x90,
    0x0, 0x0, 0x2, 0xf1, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x5, 0xe0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x8, 0xb0, 0x0, 0x0, 0x0, 0x0,
    0x2, 0xdd, 0xdf, 0xed, 0xdd, 0xdd, 0x80, 0x0,
    0x0, 0x55, 0x5f, 0x85, 0x55, 0x5b, 0xa0, 0x0,
    0x0, 0x0, 0xf, 0x20, 0x0, 0xa, 0x90, 0x0,
    0x0, 0x0, 0x3f, 0x0, 0x0, 0xb, 0x80, 0x0,
    0x0, 0x0, 0x6d, 0x0, 0x0, 0xb, 0x80, 0x0,
    0x0, 0x0, 0x8a, 0x0, 0x0, 0xc, 0x70, 0x0,
    0x0, 0x0, 0xb8, 0x0, 0x0, 0xc, 0x70, 0x0,
    0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf2,
    0x2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x20,

    /* U+516D "六" */
    0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x1f, 0x50, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x9, 0xd0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x2, 0xd1, 0x0, 0x0, 0x0,
    0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf2,
    0x4, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x40,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0xc, 0x40, 0x3, 0xd0, 0x0, 0x0,
    0x0, 0x0, 0x4f, 0x10, 0x0, 0xd9, 0x0, 0x0,
    0x0, 0x0, 0xca, 0x0, 0x0, 0x4f, 0x30, 0x0,
    0x0, 0x4, 0xf2, 0x0, 0x0, 0xa, 0xd0, 0x0,
    0x0, 0xd, 0x90, 0x0, 0x0, 0x2, 0xf6, 0x0,
    0x0, 0x7e, 0x10, 0x0, 0x0, 0x0, 0x8e, 0x0,
    0x3, 0xf6, 0x0, 0x0, 0x0, 0x0, 0x1f, 0x70,
    0xa, 0xb0, 0x0, 0x0, 0x0, 0x0, 0x8, 0xb0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

    /* U+5468 "周" */
    0x0, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x0,
    0xd5, 0x11, 0x13, 0x21, 0x11, 0x4f, 0x0, 0xd4,
    0x0, 0xc, 0x50, 0x0, 0x3f, 0x0, 0xd4, 0xbf,
    0xff, 0xff, 0xf4, 0x3f, 0x0, 0xd4, 0x0, 0xc,
    0x50, 0x0, 0x3f, 0x0, 0xd4, 0x11, 0x1c, 0x51,
    0x11, 0x3f, 0x0, 0xd7, 0xff, 0xff, 0xff, 0xff,
    0x3f, 0x0, 0xe4, 0x0, 0x0, 0x0, 0x0, 0x3f,
    0x0, 0xe3, 0x3f, 0xff, 0xff, 0xc0, 0x3f, 0x0,
    0xf2, 0x4d, 0x11, 0x15, 0xc0, 0x3f, 0x3, 0xf0,
    0x4d, 0x0, 0x4, 0xc0, 0x3f, 0x7, 0xb0, 0x4f,
    0xdd, 0xdd, 0xc0, 0x3f, 0xe, 0x60, 0x3, 0x33,
    0x33, 0x41, 0x6e, 0x4e, 0x0, 0x0, 0x0, 0x0,
    0xef, 0xe6, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0,

    /* U+56DB "四" */
    0x2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x20, 0x3f,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xf3, 0x3f, 0x0,
    0x3e, 0x0, 0xe3, 0x0, 0xf3, 0x3f, 0x0, 0x3e,
    0x0, 0xe3, 0x0, 0xf3, 0x3f, 0x0, 0x3e, 0x0,
    0xe3, 0x0, 0xf3, 0x3f, 0x0, 0x4d, 0x0, 0xe3,
    0x0, 0xf3, 0x3f, 0x0, 0x7b, 0x0, 0xe3, 0x0,
    0xf3, 0x3f, 0x0, 0xd7, 0x0, 0xe4, 0x0, 0xf3,
    0x3f, 0xb, 0xd0, 0x0, 0xbf, 0xef, 0xf3, 0x3f,
    0x8d, 0x10, 0x0, 0x3, 0x44, 0xf3, 0x3f, 0x1,
    0x0, 0x0, 0x0, 0x0, 0xf3, 0x3f, 0x0, 0x0,
    0x0, 0x0, 0x0, 0xf3, 0x3f, 0x11, 0x11, 0x11,
    0x11, 0x11, 0xf3, 0x3f, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xf3,

    /* U+65E5 "日" */
    0x4, 0x44, 0x44, 0x44, 0x44, 0x41, 0x2f, 0xee,
    0xee, 0xee, 0xee, 0xf4, 0x2f, 0x10, 0x0, 0x0,
    0x0, 0xf4, 0x2f, 0x10, 0x0, 0x0, 0x0, 0xf4,
    0x2f, 0x10, 0x0, 0x0, 0x0, 0xf4, 0x2f, 0x10,
    0x0, 0x0, 0x0, 0xf4, 0x2f, 0xff, 0xff, 0xff,
    0xff, 0xf4, 0x2f, 0x33, 0x33, 0x33, 0x33, 0xf4,
    0x2f, 0x10, 0x0, 0x0, 0x0, 0xf4, 0x2f, 0x10,
    0x0, 0x0, 0x0, 0xf4, 0x2f, 0x10, 0x0, 0x0,
    0x0, 0xf4, 0x2f, 0x10, 0x0, 0x0, 0x0, 0xf4,
    0x2f, 0x32, 0x22, 0x22, 0x22, 0xf4, 0x2f, 0xff,
    0xff, 0xff, 0xff, 0xf4,

    /* U+6708 "月" */
    0x0, 0xd, 0xff, 0xff, 0xff, 0xff, 0xd0, 0x0,
    0xe6, 0x22, 0x22, 0x22, 0x6e, 0x0, 0xe, 0x40,
    0x0, 0x0, 0x4, 0xe0, 0x0, 0xe4, 0x0, 0x0,
    0x0, 0x4e, 0x0, 0xe, 0xfe, 0xee, 0xee, 0xef,
    0xe0, 0x0, 0xe6, 0x22, 0x22, 0x22, 0x6e, 0x0,
    0xe, 0x40, 0x0, 0x0, 0x4, 0xe0, 0x0, 0xf3,
    0x0, 0x0, 0x0, 0x4e, 0x0, 0xf, 0xff, 0xff,
    0xff, 0xff, 0xe0, 0x2, 0xf2, 0x22, 0x22, 0x22,
    0x6e, 0x0, 0x6d, 0x0, 0x0, 0x0, 0x4, 0xe0,
    0xc, 0x70, 0x0, 0x0, 0x0, 0x4e, 0x5, 0xf1,
    0x0, 0x0, 0x13, 0x39, 0xd1, 0xf7, 0x0, 0x0,
    0x2, 0xff, 0xd5, 0x4, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0
};


/*---------------------
 *  GLYPH DESCRIPTION
 *--------------------*/

static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
    {.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
    {.bitmap_index = 0, .adv_w = 64, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 0, .adv_w = 155, .box_w = 8, .box_h = 12, .ofs_x = 1, .ofs_y = 0},
    {.bitmap_index = 48, .adv_w = 103, .box_w = 5, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 78, .adv_w = 136, .box_w = 8, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 126, .adv_w = 138, .box_w = 8, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 174, .adv_w = 148, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 228, .adv_w = 147, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 282, .adv_w = 147, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 336, .adv_w = 142, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 390, .adv_w = 153, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 444, .adv_w = 145, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 498, .adv_w = 256, .box_w = 16, .box_h = 2, .ofs_x = 0, .ofs_y = 6},
    {.bitmap_index = 514, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
    {.bitmap_index = 626, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
    {.bitmap_index = 722, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
    {.bitmap_index = 834, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
    {.bitmap_index = 962, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
    {.bitmap_index = 1067, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
    {.bitmap_index = 1165, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
    {.bitmap_index = 1249, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}
};

/*---------------------
 *  CHARACTER MAPPING
 *--------------------*/

static const uint16_t unicode_list_0[] = {
    0x0, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16,
    0x17, 0x18, 0x19, 0x4de0, 0x4de9, 0x4e6c, 0x4e74, 0x514d,
    0x5448, 0x56bb, 0x65c5, 0x66e8
};

/*Collect the unicode lists and glyph_id offsets*/
static const lv_font_fmt_txt_cmap_t cmaps[] =
{
    {
        .range_start = 32, .range_length = 26345, .glyph_id_start = 1,
        .unicode_list = unicode_list_0, .glyph_id_ofs_list = NULL, .list_length = 20, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
    }
};

/*-----------------
 *    KERNING
 *----------------*/


/*Pair left and right glyphs for kerning*/
static const uint8_t kern_pair_glyph_ids[] =
{
    2, 9,
    3, 9,
    5, 3,
    5, 7,
    5, 9,
    5, 11,
    6, 3,
    6, 7,
    6, 9,
    6, 11,
    7, 3,
    7, 8,
    7, 9,
    7, 11,
    8, 3,
    8, 9,
    8, 11,
    9, 2,
    9, 6,
    9, 7,
    9, 8,
    9, 9,
    9, 10,
    10, 3,
    10, 9,
    10, 11,
    11, 5,
    11, 6,
    11, 7,
    11, 8,
    11, 9,
    11, 10
};

/* Kerning between the respective left and right glyphs
 * 4.4 format which needs to scaled with `kern_scale`*/
static const int8_t kern_pair_values[] =
{
    -10, -4, -4, -3, -6, -3, -3, -4,
    -11, -2, -4, -2, -8, -3, -11, -15,
    -7, -8, -24, -5, -18, 1, -6, -3,
    -11, -2, -2, -9, -2, -8, -9, -2
};

/*Collect the kern pair's data in one place*/
static const lv_font_fmt_txt_kern_pair_t kern_pairs =
{
    .glyph_ids = kern_pair_glyph_ids,
    .values = kern_pair_values,
    .pair_cnt = 32,
    .glyph_ids_size = 0
};

/*--------------------
 *  ALL CUSTOM DATA
 *--------------------*/

#if LVGL_VERSION_MAJOR == 8
/*Store all the custom data of the font*/
static  lv_font_fmt_txt_glyph_cache_t cache;
#endif

#if LVGL_VERSION_MAJOR >= 8
static const lv_font_fmt_txt_dsc_t font_dsc = {
#else
static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
    .glyph_bitmap = glyph_bitmap,
    .glyph_dsc = glyph_dsc,
    .cmaps = cmaps,
    .kern_dsc = &kern_pairs,
    .kern_scale = 16,
    .cmap_num = 1,
    .bpp = 4,
    .kern_classes = 0,
    .bitmap_format = 0,
#if LVGL_VERSION_MAJOR == 8
    .cache = &cache
#endif
};



/*-----------------
 *  PUBLIC FONT
 *----------------*/

/*Initialize a public general font descriptor*/
#if LVGL_VERSION_MAJOR >= 8
const lv_font_t app_status_bar_font_date = {
#else
lv_font_t app_status_bar_font_date = {
#endif
    .get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt,    /*Function pointer to get glyph's data*/
    .get_glyph_bitmap = lv_font_get_bitmap_fmt_txt,    /*Function pointer to get glyph's bitmap*/
    .line_height = 16,          /*The maximum line height required by the font*/
    .base_line = 2,             /*Baseline measured from the bottom of the line*/
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
    .subpx = LV_FONT_SUBPX_NONE,
#endif
#if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
    .underline_position = -1,
    .underline_thickness = 1,
#endif
    .dsc = &font_dsc,          /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
    .fallback = NULL,
#endif
    .user_data = NULL,
};



#endif /*#if APP_STATUS_BAR_FONT_DATE*/

